<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Administrator/Views/Shared/admin.master" Inherits="System.Web.Mvc.ViewPage<CollegeWebsite.Areas.Administrator.Models.Department>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <fieldset>
        <legend>Department Details</legend>
         <div class="display-label">FacultyName</div>
        <div class="display-field"><%= Html.Encode(Model.Faculty.FacultyName) %></div>
        
        <div class="display-label">Department Name</div>
        <div class="display-field"><%= Html.Encode(Model.DepartmentName) %></div>
        
        <div class="display-label">Department Description</div>
        <div class="display-field"><%= Html.Encode(Model.DepartmentDescription) %></div>
        
        <div class="display-label">Status</div>
        <div class="display-field"><%= Model.Status ? "Enabled" : "Disabled" %></div> 
        
    </fieldset>
    <div class="clear" style="margin-bottom: 5px"></div>
    <p>
        <%= Html.ActionLink("Update Department", "Edit", new { id = Model.DepartmentID }, new { @class = "btn-primary" })%> |
        <%= Html.ActionLink("Back", "Index", "Department", new { @class = "btn"})%>
    </p>
<div class="clear"></div>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="TitleContentPlaceHolder" runat="server">
Department Details
</asp:Content>

